tools: Merge clean and distclean target.
authorKeir Fraser <keir.fraser@citrix.com>
Sun, 27 Jan 2008 12:53:35 +0000 (12:53 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Sun, 27 Jan 2008 12:53:35 +0000 (12:53 +0000)
Signed-off-by: Bastian Blank <waldi@debian.org>
tools/Makefile

index acf44fce21fff2f0bccef86d7a1b1a6fdf379297..c4deda5596d0d3f0870055a87ff51c4ec0fd4499 100644 (file)
@@ -51,15 +51,12 @@ install:
        $(INSTALL_DIR) $(DESTDIR)/var/log/xen
        $(INSTALL_DIR) $(DESTDIR)/var/lib/xen
 
-.PHONY: clean
-clean:
+.PHONY: clean distclean
+clean distclean:
        @set -e; for subdir in $(SUBDIRS-y); do \
-               $(MAKE) subdir-$@-$$subdir; \
+               $(MAKE) subdir-clean-$$subdir; \
        done
 
-.PHONY: distclean
-distclean: clean
-
 subdir-all-%:
        $(MAKE) -C $* all